package com.monitoring;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("com.monitoring.domain.entity")
@ComponentScan({
    "com.monitoring.application",
    "com.monitoring.domain",
    "com.monitoring.infrastructure",
    "com.monitoring.interfaces"
})
public class MonitoringApplication {

    public static void main(String[] args) {
        SpringApplication.run(MonitoringApplication.class, args);
    }
}